Use keyboard-quit in abort key sequence
authorjustbur <justin@burkett.cc>
Wed, 3 Feb 2016 13:23:55 +0000 (08:23 -0500)
committerjustbur <justin@burkett.cc>
Wed, 3 Feb 2016 13:23:55 +0000 (08:23 -0500)
Need to do this for the operator keymap function. Otherwise the operator
state doesn't exit properly

which-key.el

index ab564626140763c6152018eea12dd0e7f7b1762e..9a40bb21beb8dcc08726e1a22e2e7c5ce6bc8e49 100644 (file)
@@ -1812,7 +1812,7 @@ after first page."
   (interactive)
   (let ((which-key-inhibit t))
     (which-key--hide-popup-ignore-command)
-    (message "Aborted key sequence")))
+    (keyboard-quit)))
 
 ;;;###autoload
 (defun which-key-C-h-dispatch ()